import request from '@/utils/request'

// 查询优化策略分类列表
export function listStrategyclassification(query) {
  return request({
    url: '/decision/strategyclassification/list',
    method: 'get',
    params: query
  })
}

// 查询优化策略分类详细
export function getStrategyclassification(strategyTypeId) {
  return request({
    url: '/decision/strategyclassification/' + strategyTypeId,
    method: 'get'
  })
}

// 新增优化策略分类
export function addStrategyclassification(data) {
  return request({
    url: '/decision/strategyclassification',
    method: 'post',
    data: data
  })
}

// 修改优化策略分类
export function updateStrategyclassification(data) {
  return request({
    url: '/decision/strategyclassification',
    method: 'put',
    data: data
  })
}

// 删除优化策略分类
export function delStrategyclassification(strategyTypeId) {
  return request({
    url: '/decision/strategyclassification/' + strategyTypeId,
    method: 'delete'
  })
}
